@layout("/common/_container.html",{js:["/assets/common/libs/pinyin/initials.js","/assets/common/libs/pinyin/pinyin.js","/assets/modular/system/mdzx/mdzx.js"],css:["/assets/common/css/beautiful.css"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">门店装修表管理</span>
</div>
<style>
    .layui-form-label{
        width: 70px !important;
    }
</style>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">门店名称</label>
                                <div class="layui-input-inline" style="width: 250px;">
                                    <input id="condition" class="layui-input" type="text" size="50" placeholder="根据门店名称或门店拼音首字母进行查询"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">是否锁定</label>
                                <div class="layui-inline lablew">
                                    <select name="yuSuanLockMdzx" lay-filter="yuSuanLockMdzx"
                                        id="yuSuanLockMdzx"
                                        lay-search="">
                                        <option value="-1">全部</option>
                                        <option value="0" >未锁定</option>
                                        <option value="1">锁定</option>
                                    </select>
                                </div>
                                
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">状态</label>
                                <div class="layui-inline lablew">
                                    <select name="status" lay-filter="status"
                                        id="status"
                                        lay-search="">
                                        <option value="">全部</option>
                                        <option value="open">正常</option>
                                        <option value="close">闭店</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label label-title" style="">大区</label>
                                <div class="layui-inline lablew">
                                    <select name="region" lay-filter="region" id="region" lay-search="">
                                        <option value=''>全部</option>
                                        <option value='301'>山东大区</option>
                                        <option value='302'>北京大区</option>
                                        <option value='303'>天津大区</option>
                                        <option value='304'>河北大区</option>
                                        <option value='305'>安徽大区</option>
                                        <option value='306'>陕西大区</option>
                                        <option value='307'>青海大区</option>
                                        <option value='308'>河南大区</option>
                                        <option value='309'>内蒙大区</option>
                                        <option value='310'>福建大区</option>
                                        <option value='311'>江苏大区</option>
                                        <option value='312'>甘肃大区</option>
                                        <option value='313'>浙江大区</option>
                                        <option value='314'>山西大区</option>
                                        <option value='315'>湖北大区</option>
                                        <option value='316'>江西大区</option>
                                        <option value='317'>广西大区</option>
                                        <option value='318'>湖南大区</option>
                                        <option value='319'>上海大区</option>
                                        <option value='320'>海南大区</option>
                                        <option value='321'>辽宁大区</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">制单日期</label>
                                <div class="layui-inline lablew">
                                    <input id="zdrq" class="layui-input" type="text" autocomplete="off" placeholder="用友制单日期"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn layui-btn-sm marrig">搜索</button>
                                <button id="pzsc" class="layui-btn layui-btn-sm">凭证生成</button>
                                <!--<button id="btnExp" class="layui-btn layui-btn-sm"><i class="layui-icon">&#xe67d;</i>导出</button>-->
                                <button id="btnAdd" class="layui-btn layui-btn-sm">添加</button>
                                <button id="btnCopy" class="layui-btn layui-btn-sm">复制</button>
<!--                                <button id="btnExcel" class="layui-btn layui-btn-sm"><i class="layui-icon">&#xe67d;</i>投资情况导入-->
<!--                                </button>-->
<!--                                <button id="btnExcel_md_tzqk" class="layui-btn layui-btn-sm"><i class="layui-icon">&#xe67d;</i>导入门店及投资情况-->
<!--                                </button>-->
<!--                                <button id="btnMdTzCb" class="layui-btn layui-btn-sm"><i class="layui-icon">&#xe67d;</i>导入门店投资及预算</button>-->
<!--                                <button id="batchbtnMdTzys" class="layui-btn layui-btn-sm" title="D:/data/mendianTouziYsuan/"><i class="layui-icon">&#xe67d;</i>导入门店投资及预算(批量)</button>-->
                                <button id="tongbu_all" class="layui-btn layui-btn-sm">全部同步</button>
                                <button id="lockbtn" class="layui-btn layui-btn-sm">锁定/解锁</button>
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="mdzxTable" lay-filter="mdzxTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="investmentSituation">投资情况</a>
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="viewYuanSuan">查看预算</a>
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="viewJgc">查看甲供材明细</a>
<!--    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="jiaGongMx">甲供材明细</a>-->
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="ghsLock">供货商锁定/解锁</a>
</script>

<script id="yujiTouziTpl" type="text/html">
    {{# if(d.yusuanLock=="0"){ }}
    {{d.yujiTouzi|| 0}}
    {{# } else if(d.yusuanLock=="1"){ }}
    🔒 {{d.yujiTouzi}}
    {{# } }}

</script>
@}